package com.googlecode.cswish.util;

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


/**
 * @author Jerry.Feng Date: 2004-12-13 16:17:45
 * @version $id: $
 */
public class BlankObject {
	private static final Log logger = LogFactory.getLog(BlankObject.class);
	
    public static final Object Object = new Object();
    public static Method Method = null;
    static {
    	try {
    		Class<?>[] args = null;
			Method = Object.class.getMethod("toString", args);
		} catch (Exception ex) {
			logger.error("can't create a blank method", ex);
		}
    }
    
    public static final Object[] ObjectArray = new Object[0];
    public static final String[] StringArray = new String[0];
    public static final Method[] MethodArray = new Method[0];
	public static final Class[] CLassArray = new Class[0];
	public static final Annotation[] AnnotationArray = new Annotation[0];
	public static final List List = Collections.unmodifiableList(new ArrayList(0));
	public static final Collection Collection = List;
    //public static final Cache Cache = new HashCache(0);
    
	public static final Set Set = Collections.unmodifiableSet(new HashSet(0));
	public static final Map Map = Collections.unmodifiableMap(new HashMap(0));
}
